FROM fabletang/jre8-alpine:latest

RUN mkdir -p /app

WORKDIR /app

ADD target/*.jar app.jar

#EXPOSE 10010

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

CMD ["--spring.profiles.active=dev"]